<template>
	<!-- <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link>
  </nav> -->
  <router-view/>
	<MsgTip ref="msgTip"></MsgTip>
</template>
<script>
	import MsgTip from "@/components/MsgTip"
	export default {
		components:{
			MsgTip
		},
		mounted() {

		},
		methods:{
			onerror(){
				this.$refs.MsgTip.showMsg('11');
			}
		}
	}
</script>

<style lang="scss">
	#app {
		height: 100%;
	}

	nav {
		padding: 30px;

		a {
			font-weight: bold;
			color: #2c3e50;

			&.router-link-exact-active {
				color: #42b983;
			}
		}
	}
</style>